
ID = 0
import os
code = r"""print("halo")"""
def create_temp_py(ID,code):
    name = 'temp'+ str(ID) + '.py'
    with open(name,'w') as f:
        f.write(code)
    f.close()
    print(os.system('python '+name))

create_temp_py(ID,code)
        